package com.zlm.user.emp.dao;

import com.zlm.common.base.BaseDao;
import com.zlm.common.entity.SysBannerDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 轮播图DAO
 * @Author: duyufu
 * @Date: 2019/4/23 15:41
 */
@Repository
public interface SysBannerDao extends BaseDao<SysBannerDO> {

    /**
     * 按类别获取轮播图列表
     *
     * @param type
     * @return
     */
    List<SysBannerDO> getEntityByType(@Param("type") Integer type);
}
